#pragma once
class CErrorCode
{
public:
  typedef enum EErrorCode_enum {
    kOk                       =   0,
    kError                    =  -1,
    kReadFile                 =  -2,
    kWriteFile                =  -3,
    kProjectNameConflict      =  -4,
    kProjectNotFound          =  -5,
    kActiveProjectCantDelete  =  -6,
    kIndexOutOfRange          =  -7,
    kUnimplemented            =  -8,
    kCameraNameConflict       =  -9,
    kCameraNotFound           =  -10,
    kActiveCameraCantDelete   =  -11,
    kAlreadyActivated         =  -12,
    kCameraDead               =  -13,
    kOpenCamera               =  -14,
    kSetCameraParam           =  -15,
    kSerialNameConflict       =  -16,
    kSerialDeviceConflict     =  -17,
    kOpenedSerialCantCopy     =  -18,
    kSerialInUse              =  -19,
    kOpenSerial               =  -20,
    kSerialNotFound           =  -21,
    kStationNameConflict      =  -22,
    kStationNotFound          =  -23,
    kItemNameConflict         =  -24,
    kItemNotFound             =  -25,
    kCmdNameConflict          =  -26,
    kCmdConflict              =  -27,
    kCmdNotFound              =  -28,
    kLineNameConflict         =  -29,
    kLineNotFound             =  -30,
    kArcNameConflict          =  -31,
    kArcNotFound              =  -32,
    kOpenedModelCantCopy      =  -33,
    kModelNameConflict        =  -34,
    kModelPathNameConflict    =  -35,
    kModelNotFound            =  -36,
    kModelInstanceNotFound    =  -37,
    kPathNotExist             =  -38,
    kNoneDirectory            =  -39,
    kImageFileNotFound        =  -40,
    kNameConflict             =  -41,
    kNameNotFound             =  -42,
    kLoadLibrary              =  -43,
    kWaitTimeOut              =  -44,
    kFileCorrupted            =  -45,
    kBuildCoordSys            =  -46,
    kOpenFireGrab             =  -47,
    kGrabImage                =  -48,

    kErrorCodeButt = -49
  } EErrorCode;

public:
  CErrorCode(void);
  ~CErrorCode(void);
};

